<?php
namespace Mvc\App\Decorator;
/**
 * Created by PhpStorm.
 * User: 554665488
 * Date: 2018-6-22
 * Time: 3:39
 * @description:
 * @Author: yfl
 * @QQ 554665488
 */
class Json
{
    function beforeAction($controller)
    {

    }

    function afterAction($return_value)
    {

        echo json_encode($return_value);

    }
}